home *** CD-ROM | disk | FTP | other *** search
- PROGRAMMERS' DESCRIPTION OF OUR SPRITE FORMAT "SPR"
- /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
-
- LENGTH (BYTES) DESCRIPTION
- ---------------------------
- ; ID
- 8 "RAW SPR "
-
-
- ; MAIN HEADER
- 2 Offset (from main header) to first GFX
- 4 Reserved
- 12 file name
- 8 Reserved
-
-
- ; GFX HEADER
- 4 Offset (from this GFX) to next GFX
- 2 Offset (from this GFX) to the graphics data (of this GFX)
- 2 Width in pixels (of this GFX)
- 2 Height in pixels (of this GFX)
- 12 Reserved
- ; GFX GRAPHICS DATA
- ??? Graphics data
-
- ; HERE MAY FOLLOW 0-9998 MORE GFX:S (header,data, header,data...)
-
- ; END OF GFX:S
- 4 Null (0)
-
-
- ; SEQUENCE HEADER
- 4 Offset (from this sequence) to next sequence
- 2 Offset (from this sequence) to the frames (of this sequence)
- 2 Number of frames (in this sequence)
- 2 The length in bytes of a frame (in this sequence)
- 2 Reserved
-
- ; FRAME
- 4 Reserved
- 2 GFX number (0-9999)
- 2 Reserved
- 2 X offset (for this frame)
- 2 Y offset (for this frame)
- 2 Duration in VBL:s (for this frame)
-
- ; HERE FOLLOWS 'NUMBER OF FRAMES' FRAMES (frame, frame, frame...)
-
- ; HERE MAY FOLLOW 0-9998 MORE SEQUENCES (header,frames, header,frames...)
-
- ; END OF SEQUENCES
- 4 Null (0)
-
-
- ; END OF FILE
-
-